home *** CD-ROM | disk | FTP | other *** search
-
-
- SFDRTIME.EXE
- by
- Carl Morvant
-
- SFDRTIME.EXE will allow sysops to limit the time users have on doors.
- This program is a very basic program and requires two other files to
- run. The SFDOORS.DAT is the file Spitfire creates to pass information
- to the door program. This is the file that SFDRTIME.EXE will modify
- allowing the sysop to limit time on the door. The other file SFDRTIME.EXE
- needs to run is SFDRTIME.CFG. SFDRTIME.CFG tells SFDRTIME.EXE how much
- time to allow for the door. In the SF.BAT file move the SFDOORS.DAT
- file to the directory which the door is in. This will allow SFDRTIME.EXE
- to modify the copy of SFDOORS.DAT, not the original which is still in
- the C:\SF directory. When the user returns to the board, SPITFIRE will
- read the original SFDOORS.DAT file. Also if the door program has a
- line in a .cfg file that tells the door program where to look for
- SFDOORS.DAT, change it so the door program will look in the door's
- directory. Otherwise the door program will read the file in the C:\SF
- directory, and give the user the amount of time he has left on the board.
- The following is an example of what the SF.BAT file should look like.
-
- :DOOR_A
- REM DOOR A
- COPY C:\SF\SFDOORS.DAT C:\SF\DOOR_A <-COPY SFDOOR.DAT TO DOOR DIRECTORY
- CD C:\SF\DOOR_A <-CHANGE TO DOOR DIRECTORY
- SFDRTIME <-PROGRAM TO MODIFY SFDOORS.DAT FILE
- DOOR PROGRAM <-ACTUAL DOOR PROGRAM
- ERASE SFDOORS.DAT <-ERASING COPY OF SFDOORS.DAT
- CD C:\SF <-RETURNING TO SF DIRECTORY
- GOTO LOOP
- :DOOR_B
-
- There is a sample SFDRTIME.CFG file that limits the users to 10 minutes.
- The SFDRTIME.CFG file is a one line file with the amount of minutes
- you wish to allow for the door. The maximun amount of time allowed is 999.
- But the program cannot add more time to the SFDOORS.DAT file. If the user
- has 5 minutes left on the board, and the SFDRTIME.CFG file is set up for 10.
- The user will get 5 minutes. So 999 minutes is an unreal number.
- I put a three number limit on this file. The SFDRTIME.CFG file can be longer
- that 3 numbers. If your file is longer that three numbers the program
- will ignore anything else.
-
- Any question or comments can be directed to me at my board,
- The Littlest BBS in Town, Luling, La, (504) 785-1848, 300/1200/2400.
- Also I can be reached through the RIME network by routing a message
- to me at my NodeId: LITTLEST.
- Carl Morvant